/*  1:   */ package org.jetbrains.io;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.Nullable;
import org.jetbrains.ide.CustomPortServerManager;
import org.jetbrains.ide.CustomPortServerManager.CustomPortService;

/*  4:   */
/*  5:   */
/*  6:   */ 
/*  7:   */ public abstract class CustomPortServerManagerBase
/*  8:   */   extends CustomPortServerManager
/*  9:   */ {
/* 10:   */   @Nullable
/* 11:   */   protected CustomPortServerManager.CustomPortService manager;
/* 12:   */   
/* 13:   */   public void setManager(@Nullable CustomPortServerManager.CustomPortService paramCustomPortService)
/* 14:   */   {
/* 15:27 */     this.manager = paramCustomPortService;
/* 16:   */   }
/* 17:   */   
/* 18:   */   public boolean isBound()
/* 19:   */   {
/* 20:31 */     return (this.manager != null) && (this.manager.isBound());
/* 21:   */   }
/* 22:   */   
/* 23:   */   public void portChanged()
/* 24:   */   {
/* 25:35 */     if (this.manager != null) {
/* 26:36 */       this.manager.rebind();
/* 27:   */     }
/* 28:   */   }
/* 29:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.io.CustomPortServerManagerBase

 * JD-Core Version:    0.7.0.1

 */